#ifndef TEST_NET_H
#define TEST_NET_H

#include <QObject>
#include <QTest>
#include "../jzNet/JZNetFileTrans.h"

class TestFileTrans : public QObject
{
    Q_OBJECT

public:
    TestFileTrans();

    void testFileTrans();

protected slots:
    void onTaskFinish(JZNetFileTaskPtr task);

protected:
    void startServer();
    void startClient();

    void genFile(QString path);
    bool checkFile(QString path);
};


#endif // TEST_MATHUTILS_H